package org.x.user.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
public class UpdateProfileDTO {
    @NotEmpty(message = "用户名不能为空")
    private String name;

    private String avatar;

    @NotEmpty(message = "邮箱不能为空")
    private String email;

    private String mobile;

}

